51247b0897182a1c835aa18535f3f09fe0a6ea90,netty4/src/main/java/redis/netty4/MultiBulkReply.java,MultiBulkReply,MultiBulkReply,#RedisReplyDecoder#ByteBuf#,30
Before Change
private int index = 0;
public MultiBulkReply(RedisReplyDecoder rd, ByteBuf is) throws IOException {
size = Decoders.readInteger(is);
if (size == -1) {
replies = null;
} else {
After Change
private int index = 0;
public MultiBulkReply(RedisReplyDecoder rd, ByteBuf is) throws IOException {
long l = Decoders.readLong(is);
if (l > Integer.MAX_VALUE) {
throw new IOException("Too many replies");
}
size = (int) l;
if (size == -1) {
replies = null;
} else {